package cs342.uwosh.edu.MyWorldApp.storage;


import cs342.uwosh.edu.R;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;

public class Place {

	private final static Drawable DEFAULT_ICON = Resources.getSystem().getDrawable(R.drawable.icon);
	
	private double latitude;
	private double longitude;
	private Drawable drawable;
	private String name;
	private String address;
	
	public Place(){}
	
	public Place(String name, String address, double longitude, double latitude) {
		this.latitude = latitude;
		this.longitude = longitude;
		this.name = name;
		this.address = address;
		this.drawable = DEFAULT_ICON;
	}
	
	public Place(String name, String address, double longitude, double latitude, Drawable drawable) {
		this.latitude = latitude;
		this.longitude = longitude;
		this.drawable = drawable;
		this.name = name;
		this.address = address;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public Drawable getDrawable() {
		return drawable;
	}

	public void setDrawable(Drawable drawable) {
		this.drawable = drawable;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
}
